import React, {PropTypes} from 'react';
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {hashHistory} from 'react-router';

import {getCookie} from '../../util'


class CRHeader extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
        }
    }

    componentWillMount() {
    }
    componentDidMount(){
        
    }
    render() {
        return (
            <Header className="header-color" >
                <div className="header-con">
                    <div className="header-title">
                        <div className="header-logo"/>
                    </div>
                    <Menu
                        theme="dark"
                        mode="horizontal"
                        selectedKeys={this.props.selectedMenuKey}
                        className="header-menu"
                    >
                    </Menu>
                </div>
            </Header>
        );
    }
}
CRHeader = Form.create()(CRHeader);
const mapStateToProps = (state) => {
    return {
    }
};

function mapDispatchToProps(dispatch) {
    return {
    };
}

export default connect(mapStateToProps, mapDispatchToProps)(CRHeader);
